package com.wuxiaofan.coupon.mapper;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuxiaofan.coupon.entity.SmsHomeSubject;
import com.wuxiaofan.coupon.entity.custom.SmsHomeSubjectCustom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 *首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】
 */
@Component
public interface SmsHomeSubjectMapper extends BaseMapper<SmsHomeSubject> {
    public List<SmsHomeSubjectCustom> findByMap(@Param("map") Map paraMap, Page page);

    public List<SmsHomeSubjectCustom> findByMap(@Param("map") Map paraMap);

    public SmsHomeSubjectCustom findCountByMap(@Param("map") Map paraMap);

    public SmsHomeSubjectCustom findGroupByMap(@Param("map") Map paraMap);


    public void updateMapById(@Param("map") Map paraMap);
}
